package com.eastfair.pay.service;

import com.eastfair.boot.service.SuperService;
import com.eastfair.pay.dto.InvoiceApplyerRelationDTO;
import com.eastfair.pay.entity.InvoiceApplyerRelation;
import com.eastfair.pay.vo.InvoiceApplyerRelationVO;

import java.util.List;

/**
 * <p>
 * 业务接口
 * 发票申请
 * </p>
 *
 * @author clm
 * @date 2022-08-06
 */
public interface InvoiceApplyerRelationService extends SuperService<InvoiceApplyerRelation> {
    /**
     * do转vo
     * @param model
    */
    InvoiceApplyerRelationVO doToVo(InvoiceApplyerRelation model);
   /**
    * do转vo
    * @param modelList
   */
    List<InvoiceApplyerRelationVO> doToVos(List<InvoiceApplyerRelation> modelList);


   /**
    * 通用查询
    *
    * @param modelDTO DTO
    * @param ids 主键id集合
    * @return list
    */
   List<InvoiceApplyerRelation> list(InvoiceApplyerRelationDTO modelDTO, List<Long> ids);

  /**
  * 通用查询
  *
  * @param modelDTO DTO
  * @param ids 主键id集合
  * @return list
  */
  List<InvoiceApplyerRelation> listOfCache(InvoiceApplyerRelationDTO modelDTO, List<Long> ids);

    InvoiceApplyerRelation getByBuinessId(Long buinessId);
}
